package Day3;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        // 注意 hasNext 和 hasNextLine 的区别
        while (in.hasNextLine()) { // 注意 while 处理多个 case
            String[] targetStrs = in.nextLine().split(" ");
            char[] character = new char[targetStrs.length];
            for(int i = 0;i < targetStrs.length;i++){
                char[] ch = targetStrs[i].toUpperCase().toCharArray();
                character[i] = ch[0];
            }
            for(int i = 0;i < character.length;i++){
                System.out.print(character[i]);
            }
        }
    }
}